/*
 * @Description: 
 * @version: 
 * @Company: 
 * @Author: GeYang
 * @Date: 2019-01-09 14:32:10
 * @LastEditors: 
 * @LastEditTime: 2019-10-28 09:08:25
 */
import Vue from "vue";
import Router from "vue-router";
import Countdown from "@/view/Countdown";
import Rank from "@/view/Rank";
import Draw from "@/view/Draw";
import Vote from "@/view/Vote";
import Welcome from "@/view/Welcome";
import Rank2 from "@/view/Rank2"
import Ndraw from "@/view/Ndraw"
import FinalRank from "@/view/FinalRank"
import MBTIOne from '@/view/MBTIOne'
import MBTITwo from '@/view/MBTITwo'

Vue.use(Router);

export default new Router({
  routes: [{
      path: "/index",
      name: "daojishi",
      component: Countdown,
      hidden: true
    },
    {
      path: "/final",
      name: "FinalRank",
      component: FinalRank,
      hidden: true
    },
    {
      path: "/Ndraw",
      name: "Ndraw",
      component: Ndraw,
      hidden: true
    },
    {
      path: "/Welcome",
      name: "Welcome",
      component: Welcome,
      hidden: true
    },
    {
      path: "/rank",
      name: "Rank ",
      component: Rank,
      hidden: true
    },
    {
      path: "/rank2",
      name: "Rank2",
      component: Rank2,
      hidden: true
    },
    {
      path: "/draw",
      name: "Draw",
      component: Draw,
      hidden: true
    },
    {
      path: "/vote",
      name: "Vote",
      component: Vote,
      hidden: true
    },
    {
      path: "/MBTIOne",
      name: "MBTIOne",
      component: MBTIOne,
      hidden: true
    },
    {
      path: "/MBTITwo",
      name: "MBTITwo",
      component: MBTITwo,
      hidden: true
    }
    // {
    //   path: "/",
    //   redirect: "/Countdown",
    //   hidden: true
    // },
  ]
});
